package com.hpe.fastfood.pojo;

/**
 * @ClassName: User
 * @Description:TODO 用户的实体类
 * @author: dwx
 * @date: 2018年11月22日 上午11:37:41
 */
public class User {

	private int userId;// 用户ID

	private String userName;// 用户账户

	private String userPwd;// 用户密码

	private String userSex;// 用户性别

	private String userEmail;// 用户邮箱

	private int userMoney;// 用户账户余额

	private int state;// 用户账户状态(0:已禁用1:已启用)

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserSex() {
		return userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public int getUserMoney() {
		return userMoney;
	}

	public void setUserMoney(int userMoney) {
		this.userMoney = userMoney;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userPwd=" + userPwd + ", userSex=" + userSex
				+ ", userEmail=" + userEmail + ", userMoney=" + userMoney + ", state=" + state + ", getClass()="
				+ getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString() + "]";
	}

}
